package org.dromara.visitor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.visitor.domain.dto.RuleAddReq;
import org.dromara.visitor.domain.dto.RuleQueryReq;
import org.dromara.visitor.domain.dto.RuleResp;
import org.dromara.visitor.domain.entity.Rule;



public interface RuleService extends IService<Rule> {

    void addRule(RuleAddReq req);

    void editRule(RuleAddReq req);

    RuleAddReq detail(Long id);

    Page<RuleResp> queryRuleList(RuleQueryReq req);

    Rule getRuleByOrgId(Long orgId);
}
